//
//  ZDNormalCell.m
//  OCSinaWeiBo
//
//  Created by Apple on 15/11/3.
//  Copyright © 2015年 itcast. All rights reserved.
//

#import "ZDNormalCell.h"

@implementation ZDNormalCell

- (void)prepareUI
{
    [super prepareUI];
    
    [self.pictureView mas_makeConstraints:^(MASConstraintMaker *make) {

        make.top.mas_equalTo(self.contentLabel.mas_bottom).offset(margin);
        make.left.mas_equalTo(self).offset(margin);
        make.width.height.mas_equalTo(0);
    }];

//     ZDLog(@"%@", self.pictureView.constraints);
    self.pictureViewWidthC = self.pictureView.constraints.firstObject;
    self.pictureViewHeightC = self.pictureView.constraints.lastObject;
}

@end
